#include <stdio.h>
#include <stdlib.h>
#include "os_socket.h"

#ifdef WIN32
#include <WinSock2.h>
#endif

int os_socket_init()
{
#ifdef WIN32
	WSADATA wsaData;
	if (WSAStartup(MAKEWORD(2, 0), &wsaData)) {
		printf("Could not find a usable WinSock.dll\n");
		return -1;
	}
#endif
	return 0;
}